import pygame

class TextUtil():
	def Clock(self):
		font = pygame.font.Font(None,24)
		survivedtext = font.render(str((90000-pygame.time.get_ticks())/60000)+":"+str((90000-pygame.time.get_ticks())/1000%60).zfill(2), True, (0,0,0))
		textRect = survivedtext.get_rect()
		textRect.topright=[635,5]
		window = pygame.display.get_surface()
		window.blit(survivedtext, textRect)